machine=lower(getenv('computername'));
disp(['Machine''s name is ' machine]);
engram_basepath = 'D:/Hippocampal_Engram_Codes/matlab/engram';
addpath D:\Hippocampal_Engram_Codes\matlab
addpath D:\Hippocampal_Engram_Codes\matlab\utilities
addpath D:\Hippocampal_Engram_Codes\matlab\utilities\system
addpath(fullfile(engram_basepath, 'src'));
addpath(fullfile(engram_basepath, 'src\Filter Utilities'));
addpath(fullfile(engram_basepath, 'src\Get File Names and Rec Times'));
addpath(fullfile(engram_basepath, 'src\userParameters'));
addpath(fullfile(engram_basepath, 'src\Make_STAT_tables'));
addpath(fullfile(engram_basepath, 'src\For_Prism_Graphing'));
addpath(fullfile(engram_basepath, 'src\For_Prism_Graphing\C57 data'));
addpath(fullfile(engram_basepath, 'src\For_Prism_Graphing\GAD data'));
addpath(fullfile(engram_basepath, 'src\For_Prism_Graphing\CCK data'));
addpath(fullfile(engram_basepath, 'src\For_Prism_Graphing\Zhu 2022 GAD paper data'));
addpath(fullfile(engram_basepath, 'src\For_Prism_Graphing\SST_Ru data'));
addpath(fullfile(engram_basepath, 'src\For_Prism_Graphing\CaMKIIa data'));
addpath(fullfile(engram_basepath, 'src\Preprocessing and CNMFE Analysis'));
addpath(fullfile(engram_basepath, 'src\Secondary Analysis Functions'));
addpath(fullfile(engram_basepath, 'src\Graphing for Specific Dataset'));
addpath(fullfile(engram_basepath, 'src\Graphing for Specific Dataset\GAD ETOM graphics'));
addpath(fullfile(engram_basepath, 'src\Graphing for Specific Dataset\GAD Midazolam graphics'));
addpath(fullfile(engram_basepath, 'src\Graphing for Specific Dataset\C57 CPP graphics'));
addpath(fullfile(engram_basepath, 'src\Graphing for Specific Dataset\C57 4h_vs_24h graphics'));
addpath(fullfile(engram_basepath, 'src\Graphing for Specific Dataset\C57 Midazolam graphics'));
addpath(fullfile(engram_basepath, 'src\Graphing for Specific Dataset\Plotting Utilities'));
addpath D:
addpath (fullfile('C:\Program Files\Inscopix\Data Processing'));

curWorkDir=fullfile(engram_basepath, 'src');
cd(curWorkDir);
disp(['Current working directory is ' curWorkDir]);